package cn.dwong.msgGateway.entity;

import lombok.Data;
import org.springframework.web.bind.annotation.RequestParam;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;

/**
 * @author 73202
 * @date 2022/3/9 19:06
 */
@Data
public class UserLogoutInfo {
    @NotNull
    @Size(min = 3,max = 32)
    @Pattern(regexp = "^[A-Za-z0-9]+$")
    private String userName;
    @NotNull
    private String sessionId;
}
